package cn.bookCity.service;

import java.util.List;

import cn.bookCity.domain.Products;

public interface ProductService {

	public int getCount();
	
	public List<Products> getPageProducts(int startNo, int pagesize);
	
	public Products getProduct(String id);
	
	public List<Products> getProductByName(String keywords);
	
	public List<Products> getAllBooks();
	
	public void addProduct(Products products);
	
	public void delProduct(String id);
}
